package com.sdp.lease.db.l_login_info.service.impl;

import com.sdp.lease.db.l_login_info.entity.LLoginInfo;
import com.sdp.lease.db.l_login_info.mapper.LLoginInfoMapper;
import com.sdp.lease.db.l_login_info.service.ILLoginInfoService;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zsp
 * @since 2024-07-27
 */
@Service
public class LLoginInfoServiceImpl extends ServiceImpl<LLoginInfoMapper, LLoginInfo> implements ILLoginInfoService {

	@Override
	public LLoginInfo queryLoginInfoByaccountNo(String accountNo) {
		LambdaQueryWrapper<LLoginInfo> queryWrapper = new LambdaQueryWrapper<>();
		queryWrapper.eq(LLoginInfo::getAccountNo, accountNo);
		return getOne(queryWrapper);
	}

}
